import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
import 'package:pd_application/routes.dart';

// ignore: camel_case_types
class application extends StatelessWidget {
  const application({super.key});

  @override
  Widget build(BuildContext context) {
    FluroRouter router = FluroRouter();
    Routes.configureRoutes(router);
    return MaterialApp(
      theme: ThemeData(
        primaryColor: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      debugShowCheckedModeBanner: false,
      // 路由配置
      onGenerateRoute: router.generator,
    );
  }
}
